package com.woniuxy.credit_loans.product_liu.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class ProductRecordDto implements Serializable {

    private Integer productrecordId;

    @NotBlank(message = "产品名称不能为空")
    private String productName;

    @NotBlank(message = "产品描述不能为空")
    private String productDesc;

    @NotNull(message = "必须选择同意或不同意")
    private Integer productrecordResult;

    @NotNull(message = "审批人必选")
    private Integer productrecordPerson;

    private Date productrecordApproveDate;

    @NotBlank(message = "审批人意见不能为空")
    private String productrecordLead;

    private Integer productId;

    private String isShow;
}
